package com.bdqn.jwt1.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ResponseResult<T> implements Serializable {
    //0表示未登录;1表示登录成功；2表示登录失败；3表示权限不足
    private Integer code;
    //执行成功还是失败
    private boolean flag;
    //认证
    private String authorization;
    //错误信息
    private String errorMsg;
    //查询出来的数据
    private T data;
}
